//
//  GongLueCollectionViewCell.m
//  Trip
//
//  Created by dlios on 15-7-14.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "GongLueCollectionViewCell.h"

@implementation GongLueCollectionViewCell
- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.label = [[UILabel alloc] init];
        self.label.textAlignment = NSTextAlignmentCenter;
//        self.label.text = @"qwe";
        //        self.label.textAlignment = NSTextAlignmentCenter;
//        self.label.backgroundColor = [UIColor blueColor];
        [self.contentView addSubview:_label];
        //        [_label release];
    }
    return self;
}

- (void)applyLayoutAttributes:(UICollectionViewLayoutAttributes *)layoutAttributes
{
    self.label.frame = CGRectMake(0, 0, self.frame.size.width, 25);
}
@end
